<template>
	<view>
		<image :src="item.image" mode="" style="width: 100%;height: 200px;"></image>
		<view class="title">{{ item.title }}</view>
		<view class="desc">{{item.desc}}</view>
	</view>	
</template>

<script setup>
	import { onLoad } from '@dcloudio/uni-app';
	import { ref } from 'vue'
	const item = ref({})
	
	onLoad(options => {
		console.log(options)
		
		// 动态设置标题
		uni.setNavigationBarTitle({
			title: options.title
		})
		item.value = options
	})
</script>

<style>

</style>
